'use strict';

/**
 * @ngdoc function
 * @name jgappApp.controller:WorkTbnoticelistCtrl
 * @description
 * # WorkTbnoticelistCtrl
 * Controller of the jgappApp
 */
angular.module('jgappApp')
    .controller('WorkTbnoticelistCtrl', function(DataByPage, openApi, $location, $rootScope,Util) {
        var vm = this;
        this.taskList = new DataByPage(openApi.myBidNotice);
        this.gosection = function(item) {
            vm.Picker = item;
            $rootScope.showMasker = true
            vm.showCerPicker = true
        }
        this.confirmDialog = function() {
            $rootScope.showMasker = false
            vm.showCerPicker = false
        }
        this.goDetail = function() {
        	this.confirmDialog();
        	Util.saveLocalInfo("tbDetail",vm.Picker.formBidApply)
            $location.path("work/tbnoticeDetail");
        }
    });
